﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DbGenerator.Model.units.column;
using DbGenerator.Model.units.database;
using DbGenerator.Model.units.table;
using DbGenerator.Model.attributes.types;

namespace DbGenerator.Model.units.constraint.root
{
    public enum EOrder : byte
    {
        ASC,
        DESC,
        NA
    }
    public enum EFKRule : byte
    {
        NOACTION,
        CASCADE,
        SETNULL,
        SETDEFAULT,
        NA
    }
    public class TConstraintBase<TTColumnAttribute>
    {
        #region ctors
        public TConstraintBase(TTColumnAttribute columnAttribute)
        {
            _CustomAttribute = columnAttribute;
        }
        #endregion

        #region properties
        private TTColumnAttribute _CustomAttribute;
        public TTColumnAttribute CustomAttribute
        {
            get { return _CustomAttribute; }
        }
        #endregion
    }
}
